multipress: Protect against fleeting touches mistriggering events
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 12 May 2014 14:56:41 +0000 (16:56 +0200)
committerCarlos Garnacho <carlosg@gnome.org>
Fri, 23 May 2014 17:54:30 +0000 (19:54 +0200)
commit04c8b4c7056b45e17b82d83dc079360c71f18923
tree0691479162f75715d860c48daaa3d425f74114af
parent24f20864b44afe1c9031b7e9b705a5ad0bf400e6
multipress: Protect against fleeting touches mistriggering events

The current sequence (as per gtk_gesture_single_get_current_sequence)
is used to find out the coordinates. And only emit ::pressed if the
gesture began through a GDK_BUTTON_PRESS/TOUCH_BEGIN (eg. not due to
an extra touch being lifted)
gtk/gtkgesturemultipress.c